<h2 class="h2-title">Đổi mật khẩu !!!</h2>

<?php if(isset($msg) AND $msg != ''):?>
<ul class="notification err">
    <li class="notifi_img"><img src="<?=base_url()?>assets/backend/css/images/icons/cross_circle.png"/></li>

    <li class="msg"><?=$msg?></li>

    <li class="close"><img src="<?=base_url()?>assets/backend/css/images/icons/cross_grey_small.png"/></li>

</ul><!--End of .notification -->

<?php else:?>

<div class="form_input_index">
    <ul class="form_text">
    <form action="<?=base_url()?>backend/user/changepass" method="POST">
        <li class="text_input">Tên đăng nhập</li>
        <li><input type="text" readonly="" disabled="" value="<?= $username?>" name="uname" class="input-post"/></li>

        <li class="text_input">Mật khẩu cũ</li>
        <li><input type="password" value="" name="oldpass" class="input-post"/></li>
        <?= form_error('oldpass','<li class="errors">','</li>'); ?>

        <li class="text_input">Mật khẩu mới</li>
        <li><input type="password" value="" name="newpass" class="input-post"/></li>
        <?= form_error('newpass','<li class="errors">','</li>'); ?>

        <li class="text_input">Nhập lại mật khẩu mới</li>
        <li><input type="password" value="" name="renewpass" class="input-post"/></li>
        <?= form_error('renewpass','<li class="errors">','</li>'); ?>

        <input type="submit" class="sub" value="Đồng ý" name="sub"/>
        <a href="<?=base_url()?>backend/user" class="bnt">Quay lại</a>
    </form>
    </ul>
</div>
<?php endif;?>